#ifndef ONETHREAD_H
#define ONETHREAD_H
#include <QThread>
#include <iostream>
#include <string>
#include "tokenroulette.h"
class OneThread : public QThread
{
    Q_OBJECT

public:
    QString* text;
    TokenRoulette * roulette;
    explicit OneThread(QObject *parent = 0);
    void setRoulette(TokenRoulette *r){this->roulette=r;}
signals:
    void append(const QString &text);

protected:
    void run();

};

#endif // ONETHREAD_H
